package com.seres.frontend;

import com.seres.data.Stakeholder;

import javafx.scene.control.CheckBox;

public class StakeholderCheckBox extends CheckBox {
	private Stakeholder stakeholder;
	
	public StakeholderCheckBox(Stakeholder stakeholder){
		super(stakeholder.getName());
		setStakeholder(stakeholder);
	}

	public Stakeholder getStakeholder() {
		return stakeholder;
	}

	public void setStakeholder(Stakeholder stakeholder) {
		this.stakeholder = stakeholder;
	}
	
}
